home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
risc_src.lha
/
risc_sources
/
xlib
/
xwindowattributes.t
< prev
next >
Wrap
Text File
|
1990-06-01
|
5KB
|
102 lines
(herald xwindowattributes (env tsys (xlib interface)))
(DEFINE (MAKE-XWINDOWATTRIBUTES)
(CONS 'XWINDOWATTRIBUTESP (MAKE-BYTEV 92)))
(DEFINE (XWINDOWATTRIBUTES-X X) (MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 0))
(DEFINE (XWINDOWATTRIBUTES-X! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 0 Y))
(DEFINE (XWINDOWATTRIBUTES-Y X) (MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 4))
(DEFINE (XWINDOWATTRIBUTES-Y! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 4 Y))
(DEFINE (XWINDOWATTRIBUTES-WIDTH X) (MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 8))
(DEFINE (XWINDOWATTRIBUTES-WIDTH! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 8 Y))
(DEFINE (XWINDOWATTRIBUTES-HEIGHT X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 12))
(DEFINE (XWINDOWATTRIBUTES-HEIGHT! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 12 Y))
(DEFINE (XWINDOWATTRIBUTES-BORDER_WIDTH X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 16))
(DEFINE (XWINDOWATTRIBUTES-BORDER_WIDTH! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 16 Y))
(DEFINE (XWINDOWATTRIBUTES-DEPTH X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 20))
(DEFINE (XWINDOWATTRIBUTES-DEPTH! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 20 Y))
(DEFINE (XWINDOWATTRIBUTES-VISUAL X)
((LAMBDA (X Y) (CONS 'VISUALP (MREF-POINTER X Y)))
(CHK-XWINDOWATTRIBUTESP X)
24))
(DEFINE (XWINDOWATTRIBUTES-VISUAL! X Y)
((LAMBDA (X Y Z) (SET-MREF-POINTER! X Y (CHK-VISUALP Z)))
(CHK-XWINDOWATTRIBUTESP X)
24
Y))
(DEFINE (XWINDOWATTRIBUTES-ROOT X) (MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 28))
(DEFINE (XWINDOWATTRIBUTES-ROOT! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 28 Y))
(DEFINE (XWINDOWATTRIBUTES-CLASS X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 32))
(DEFINE (XWINDOWATTRIBUTES-CLASS! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 32 Y))
(DEFINE (XWINDOWATTRIBUTES-BIT_GRAVITY X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 36))
(DEFINE (XWINDOWATTRIBUTES-BIT_GRAVITY! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 36 Y))
(DEFINE (XWINDOWATTRIBUTES-WIN_GRAVITY X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 40))
(DEFINE (XWINDOWATTRIBUTES-WIN_GRAVITY! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 40 Y))
(DEFINE (XWINDOWATTRIBUTES-BACKING_STORE X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 44))
(DEFINE (XWINDOWATTRIBUTES-BACKING_STORE! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 44 Y))
(DEFINE (XWINDOWATTRIBUTES-BACKING_PLANES X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 48))
(DEFINE (XWINDOWATTRIBUTES-BACKING_PLANES! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 48 Y))
(DEFINE (XWINDOWATTRIBUTES-BACKING_PIXEL X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 52))
(DEFINE (XWINDOWATTRIBUTES-BACKING_PIXEL! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 52 Y))
(DEFINE (XWINDOWATTRIBUTES-SAVE_UNDER X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 56))
(DEFINE (XWINDOWATTRIBUTES-SAVE_UNDER! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 56 Y))
(DEFINE (XWINDOWATTRIBUTES-COLORMAP X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 60))
(DEFINE (XWINDOWATTRIBUTES-COLORMAP! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 60 Y))
(DEFINE (XWINDOWATTRIBUTES-MAP_INSTALLED X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 64))
(DEFINE (XWINDOWATTRIBUTES-MAP_INSTALLED! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 64 Y))
(DEFINE (XWINDOWATTRIBUTES-MAP_STATE X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 68))
(DEFINE (XWINDOWATTRIBUTES-MAP_STATE! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 68 Y))
(DEFINE (XWINDOWATTRIBUTES-ALL_EVENT_MASKS X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 72))
(DEFINE (XWINDOWATTRIBUTES-ALL_EVENT_MASKS! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 72 Y))
(DEFINE (XWINDOWATTRIBUTES-YOUR_EVENT_MASK X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 76))
(DEFINE (XWINDOWATTRIBUTES-YOUR_EVENT_MASK! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 76 Y))
(DEFINE (XWINDOWATTRIBUTES-DO_NOT_PROPAGATE_MASK X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 80))
(DEFINE (XWINDOWATTRIBUTES-DO_NOT_PROPAGATE_MASK! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 80 Y))
(DEFINE (XWINDOWATTRIBUTES-OVERRIDE_REDIRECT X)
(MREF-INTEGER (CHK-XWINDOWATTRIBUTESP X) 84))
(DEFINE (XWINDOWATTRIBUTES-OVERRIDE_REDIRECT! X Y)
(SET-MREF-INTEGER! (CHK-XWINDOWATTRIBUTESP X) 84 Y))
(DEFINE (XWINDOWATTRIBUTES-SCREEN X)
((LAMBDA (X Y) (CONS 'SCREENP (MREF-POINTER X Y)))
(CHK-XWINDOWATTRIBUTESP X)
88))
(DEFINE (XWINDOWATTRIBUTES-SCREEN! X Y)
((LAMBDA (X Y Z) (SET-MREF-POINTER! X Y (CHK-SCREENP Z)))
(CHK-XWINDOWATTRIBUTESP X)
88
Y))